<?php
/*
 * Created on Oct 11, 2011
 */
	$images=base_url().'/application/views/templates/givemart/images';
	$imageProducts=base_url().'images/products/';
?>
<input type="hidden" value ="<?=$images?>" id = "hiddUrlImage" />
<div id = "divSearchReport">
	<table cellspacing="0" cellpadding="0" width="100%">
		<tbody>
			<tr>
				<td align="left" class='header' height="25px" > 
					<a href="/" class="home" title="Home">&nbsp;Home</a><span class="mark">&nbsp;&raquo;&nbsp;</span> <span class="home">Admin Logs Report</span> 
				</td>
			</tr>
		</tbody>
	</table>
	<br/>
	<table width="100%" >
	    	<tbody>
				<tr>
					<td class = "cartsubheading" colspan="2" >&nbsp;Search Criteria</td>
				</tr>
				<tr>
					<td class="dotbar" colspan="2">&nbsp;</td>
				</tr>	
				<tr>
					<td class="errorText" align="left" colspan="2"><div id ="divError" class="errorText"><?=isset($errorList)?$errorList:null?></div></td>
				</tr>	
				<tr>
					<td colspan="2" >
						<table style="width:100%; cellspacing:4px;" border="0">
							<tbody>				
							<tr>
								<td class="notReq">Search Key: </td>	
								<td colspan = "3">
		   		 					<?php echo form_input('keysearch_adminlog',  set_value('keysearch_adminlog',isset($keysearch)?$keysearch:null),' id = "keysearch_adminlog"size="50" maxlength="50" ');  ?>	
								</td>
							</tr>
							<tr>
								<td class="notReq">Error Code: </td>	
								<td colspan = "3">
		   		 					<?php echo form_input('errorcode_adminlog',  set_value('errorcode_adminlog',isset($errorcodesearch)?$errorcodesearch:null),' id = "errorcode_adminlog"size="50" maxlength="50" onkeypress="return validateKeyPressIsPhone(event);" ');  ?>	
								</td>
							</tr>
							<tr>
								<td class="notReq">
									<span class="notReq">&nbsp;From Date:</span>
								</td>	
								<td width ="140px">
										<?php echo form_input('frdate_adminlog',  set_value('frdate_adminlog',isset($frdate)?$frdate:date('m/d/Y')),'id="frdate_adminlog" class="date-pick" onkeypress="return validateKeyPressIsDate(event);" size="12" maxlength="12" ');  ?>
								</td>
								<td width = "65px" align = "right"> 
									<span class="notReq">To Date:</span>
								</td>
								<td>
									<?php echo form_input('todate_adminlog',  set_value('todate_adminlog',isset($todate)?$todate:date('m/d/Y')),'id="todate_adminlog" class="date-pick" onkeypress="return validateKeyPressIsDate(event);" size="12" maxlength="12" ');  ?>
								</td>
							</tr>
							<tr>
								<td colspan = "4">
									&nbsp;
								</td>
							</tr>
							<tr>
								<td align="right" class="notReq">
									&nbsp;
								</td>
								<td align="left" colspan = "3">
									<a class="button2" width="" href="javascript:submitAdminLog(1);">Search</a>
									<a class="button2" href="javascript:clearAdminLog();">Clear</a>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td colspan="2" class="spacer">&nbsp;</td>
				</tr>
				<tr>
					<td class = "cartsubheading" colspan="2" >&nbsp;Search Result</td>
				</tr>
				<tr>
					<td class="dotbar" colspan="2">&nbsp;</td>
				</tr>
				<tr>
					<td>
						<div id = "divPagingResult" style="text-align:left;">&nbsp;
						</div>
					</td>
					<td style = "white-space: nowrap;">
						<span style="white-space:nowrap;text-align:right;">
						    <div id = "divPaging" class="insidePage">
						    </div>
					    </span>
				    </td>
				</tr>
				<tr>
					<td  colspan="2">
						<div id = "resultSearch">
						</div>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<div  id = "divPagingBottom" class="insidePage" style = "text-align:right;">
						</div>
					</td>
				</tr>
			</tbody>
	</table>
	<div id="delSelected" style="width:100%; height:30px; padding: 10px 0"></div>
</div>
<script>	
	Date.format='mm/dd/yyyy';
	initDatePicker() ;
</script>
